import Vue from 'vue'

let validation = new Vue({
	data: {},
	methods: {
		routerTo(url,status=true){
			if(status){
				uni.navigateTo({
					url:url
				});
			}else{
				wx.redirectTo({
					url:url
				})
			}
			
		}

	},
})

export default validation;